﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    public  class OrderPo
    {
        /// <summary>
        /// 采购订单id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 采购单编号 例如：CG-2024-01-10-001
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 外部系统id
        /// </summary>
        public string ExternalId { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public string VendorId { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public string VendorName { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string VendorContact { get; set; }

        /// <summary>
        /// 联系人电话
        /// </summary>
        public string VendorContactTel { get; set; }

        /// <summary>
        /// 付款方式
        /// </summary>
        public string PaymentCategory { get; set; }

        /// <summary>
        /// 付款账户
        /// </summary>
        public string PaymentAccount { get; set; }

        /// <summary>
        /// 付款日期
        /// </summary>
        public DateTime? PaymentTime { get; set; }

        /// <summary>
        /// 入货仓
        /// </summary>
        public long WarehouseId { get; set; }

        /// <summary>
        /// 入货仓
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime? DeliveryDate { get; set; }

        /// <summary>
        /// 不含税总价
        /// </summary>
        public float Total { get; set; }

        /// <summary>
        /// 含税总价
        /// </summary>
        public float TaxTotal { get; set; }

        /// <summary>
        /// 0待审核，1已审核  2已入库
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 状态 0:未到货 1:部分到货 2:全部到货
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// 是否含税
        /// </summary>
        public string IsTax { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 币种
        /// </summary>
        public string Currency { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime ? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }
    }
}
